package model;


public final class MsgContact {
	public int id;
	public String name;
	public String url;
	public int image;
	
	public MsgContact(String name, String address, int image) {
		this.id = -1;
		this.name = name;
		this.url = address;
		this.image = image;
	}
	
	public static String[] contactsName(MsgContact[] contacts) {
		String[] ret = new String[contacts.length];
		for (int i=0; i<contacts.length; i++)
			ret[i] = contacts[i].name;
		return ret;
	}
}
